package com.xiaocheng.www.querry.impl;

import com.xiaocheng.www.querry.BaseQuerry;
import lombok.Data;
import org.springframework.util.StringUtils;

import java.util.Objects;

@Data
public class BrandQuerry extends BaseQuerry {
    private String brandName;
    public Boolean isTrue(){
      return    !(StringUtils.isEmpty(brandName)&& Objects.isNull(getStartTime()) && Objects.isNull(getEndTime()));
    }
}
